package maiyatian.videolive.fragment.personHome;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import org.xutils.view.annotation.ContentView;
import org.xutils.x;

import maiyatian.videolive.IFragment;
import maiyatian.videolive.R;
import maiyatian.videolive.activity.PersonHomeActivity;

/**
 * Created by 王中阳 on 2016/5/10.
 */
@ContentView(R.layout.content_personinfo)
public class PersoninfoFragment extends IFragment {
    public static final String TAG = "PersoninfoFragment";
    PersonHomeActivity mycontext;

    public PersoninfoFragment() {

    }

    public static PersoninfoFragment newInstance() {
        PersoninfoFragment fragment = new PersoninfoFragment();
        return fragment;
    }

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        this.mycontext = (PersonHomeActivity) context;

    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return x.view().inject(this, inflater, container);
    }
}
